
// RunAppWithCMDDlg.h : header file
//

#pragma once


// CRunAppWithCMDDlg dialog
class CRunAppWithCMDDlg : public CDialogEx
{
// Construction
public:
	CRunAppWithCMDDlg(CWnd* pParent = NULL);	// standard constructor

// Dialog Data
	enum { IDD = IDD_RUNAPPWITHCMD_DIALOG };

	protected:
	virtual void DoDataExchange(CDataExchange* pDX);	// DDX/DDV support


// Implementation
protected:
	HICON m_hIcon;

	// Generated message map functions
	virtual BOOL OnInitDialog();
	afx_msg void OnSysCommand(UINT nID, LPARAM lParam);
	afx_msg void OnPaint();
	afx_msg HCURSOR OnQueryDragIcon();
	DECLARE_MESSAGE_MAP()
public:
	UINT m_unCycle;
	UINT m_unInterval;
	CString m_strPath;
	afx_msg void OnBnClickedStart();
	afx_msg void OnBnClickedEnd();
	afx_msg void OnBnClickedCancel();
	afx_msg void OnBnClickedButtonSelect();
	bool m_bIsStart;
	afx_msg void OnTimer(UINT_PTR nIDEvent);
	CString m_strCMD;
};
